﻿using System.Collections.Generic;
using DataProvider.Model;

namespace DataProvider
{
    public class UserInfoProvider
    {
        public static List<UserInfo> Select(int dataCount)
        {
            List<UserInfo> lsUserInfo = new List<UserInfo>();
            for (int i = 0; i < dataCount; i++)
            {
                UserInfo userInfo = new UserInfo();
                userInfo.Id = (i + 1);
                userInfo.Age = 15 + (i + 1);
                userInfo.Name = "xiaoseg" + (i + 1);
                userInfo.Addr = "北京市海淀区上地十街" + (i + 1) + "号";
                userInfo.QqNum = "51481115" + (i + 1);
                userInfo.Intro = "第" + (i + 1) + "名";
                lsUserInfo.Add(userInfo);
            }
            return lsUserInfo;
        }

    }
}